package com.ruoyi.client.service.impl;

import com.ruoyi.client.mapper.CategoryMapper;
import com.ruoyi.client.pojo.vo.CategoryVo;
import com.ruoyi.client.service.ICategoryService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * @Author：HuaQP
 * @Date：2024/4/29
 */
@Service
public class CategoryServiceImpl implements ICategoryService {
    @Resource
    private CategoryMapper categoryMapper;
    @Override
    public List<CategoryVo> listCategory() {
        return categoryMapper.listCategory();
    }
}
